/**********************************************************
 * File
 *	debug.js
 * Description
 *	Provides a function to output debug messages.
 *********************************************************/

/*
 * Name: dbg()
 * Desc: Uses the console service to output a debug message.
 */
badpass.dbg = function(msg) {
	var consoleService = Components.classes["@mozilla.org/consoleservice;1"].getService(Components.interfaces.nsIConsoleService);
	consoleService.logStringMessage("BadPass: " + msg);
}
